package Test;
public class Test {
    public static void main(String[] args) {
        MyArraylist list = new MyArraylist();
        for(int i = 1; i <= 10; i++){
            list.add(i);
        }
        list.display();
        System.out.println();
        System.out.println(list.usedSize);
        System.out.println(list.isFull());
        System.out.println(list.contains(11));
        System.out.println(list.get(5));
        System.out.println(list.indexOf(9));
        System.out.println(list.size());
        list.add(6,999);
        list.remove(7);
        list.display();
        list.clear();
        list.display();
    }
}
